home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr44 / 2m30src.zip / 2MBUILD.BAT < prev    next >
DOS Batch File  |  1995-03-06  |  4KB  |  100 lines

  1. @echo off
  2. cls
  3. echo  
  4. echo           UTILIDAD DE RECOMPILACION DE TODOS LOS EJECUTABLES DE 2M 3.0
  5. echo           ────────────────────────────────────────────────────────────
  6. echo                  (UTILITY TO REBUILD ALL 2M 3.0 EXECUTABLE FILES)
  7. echo  
  8. echo  Recuerda: La licencia *NO* le permite distribuir 2M modificado: es necesario
  9. echo            contactar con el autor para proponer cambios. Pero puede modificar
  10. echo            2M para su ordenador y uso personal.  Todos  los fuentes de 2M son
  11. echo            propiedad intelectual de Ciriaco García de Celis. 2M es CARDWARE y
  12. echo            los fuentes no pueden emplearse con propósitos comerciales, aunque
  13. echo            sí las ideas incluídas aquí. Ejecute 2M-INFO para más información.
  14. echo  
  15. echo  Remember: License *DON'T* lets you to distribute a 2M release modified.   If
  16. echo            you want, you must contact the author to propose changes.  But you
  17. echo            can modify 2M for your system and for personal use. All 2M sources
  18. echo            are Copyright (C) 1994 Ciriaco García de Celis. 2M is CARDWARE and
  19. echo            sources can not be used for commercial proposes,  but  you can use
  20. echo            the ideas included here. Run 2M-INFO for more license information.
  21. echo  
  22. echo               Ciriaco García de Celis           Mailbox:  C/Renedo, 2, 4-C
  23. echo               Internet: ciri@gui.uva.es                   47005 Valladolid
  24. echo               Fidonet   2:341/21.8                             (Spain)
  25. echo  
  26. echo      Pulsa [CTRL-C] si no estás de acuerdo con las condiciones de licencia.
  27. echo         Press [CTRL-C] if you do not agree with this licence conditions.
  28. pause > nul
  29. cls
  30. echo  
  31. echo           UTILIDAD DE RECOMPILACION DE TODOS LOS EJECUTABLES DE 2M 3.0
  32. echo           ────────────────────────────────────────────────────────────
  33. echo                  (UTILITY TO REBUILD ALL 2M 3.0 EXECUTABLE FILES)
  34. echo  
  35. echo  
  36. echo  Debes tener todos los ficheros fuente en el directorio activo y...
  37. echo  - Ruta para ejecutar TASM, TLINK, EXE2BIN, QBASIC y BCC (también conviene la
  38. echo    utilidad TOUCH de DR-DOS o compatible).
  39. echo  - Correctamente configurados los directorios "library" e "include" de BCC en
  40. echo    este fichero BAT (y las librerías del modelo de memoria largo instaladas).
  41. echo  - Cualquier versión C de Borland es válida   (los usuarios de Turbo C habrán
  42. echo    de cambiar la invocación BCC por TCC). El autor utiliza Borland C++ 3.1.
  43. echo  
  44. echo              Pulsa [CTRL-C] si no estás preparado para recompilar 2M
  45. echo  
  46. echo  You must have all source files in the current directory and...
  47. echo  - Path to run TASM, TLINK, EXE2BIN, QBASIC and BCC (the DR-DOS TOUCH utility
  48. echo    or compatible one is recommended).
  49. echo  - Correctly configured the BCC "library"  and  "include" directories in this
  50. echo    batch file (and large memory model libraries available).
  51. echo  - Any C from Borland is valid  (Turbo C users must replace the BCC call with
  52. echo    TCC instead). Author uses Borland C++ 3.1.
  53. echo  
  54. echo            Press [CTRL-C] if you aren't ready to rebuild 2M executables
  55. pause > nul
  56.  
  57.  
  58. REM ******** MAKING 2M EXECUTABLE FILES... ********
  59.  
  60. set     library=c:\borlandc\lib
  61. set     include=c:\borlandc\include
  62.  
  63. echo  
  64. tasm    2m-inf /m5 /mx
  65. bcc     -ml -L%library% -I%include% 2m-info.c 2m-inf.obj 2m-in765.c 2m-infdt.c 2m-indoc.c
  66. tasm    2m /m5
  67. tlink   2m /t
  68. tasm    2m, 2mx /m5 /dXT
  69. tlink   2mx /t
  70. tasm    2msys /m5
  71. tlink   2msys
  72. exe2bin 2msys.exe 2m.sys
  73. tasm    2mfboot  /m5
  74. tlink   2mfboot
  75. exe2bin 2mfboot.exe 2mfboot.bin
  76. qbasic  /run 2mfbmake.bas
  77. tasm    2mfkit /m5 /mx
  78. bcc     -ml -L%library% -I%include% 2mf.c 2mfkit.obj
  79. tasm    2mdos /m5
  80. tlink   2mdos /t
  81. tasm    2mgui /m5
  82. tlink   2mgui
  83. tasm    2m-abios /m5
  84. tlink   2m-abios
  85. tasm    2m-abios, 2m-xbios /m5 /dXT
  86. tlink   2m-xbios
  87. del     2msys.exe
  88. del     2mfboot.exe
  89. del     *.db
  90. del     *.obj
  91. del     *.map
  92. del     *.bin
  93. set     library=
  94. set     include=
  95. touch   2m*.*        /d:6-3-95 /t:3:00
  96. touch   2m-?bios.*   /d:6-3-95 /t:1:30
  97. touch   2mgui.*      /d:6-3-95 /t:1:00
  98. touch   2mdos.*      /d:6-3-95 /t:1:00
  99. touch   file_id.diz  /d:6-3-95 /t:3:00
  100.